//导出所有的接口请求函数
import base from './base'
import req from './req'
/**
 * 获取分类列表
 * @returns 
 */
export const getCategoryList = () => req.get(base.categoryUrl)

//获取首页轮播图
export const getBanner = () => req.get(base.bannerUrl)

//首页主体区--新鲜好物
export const getNew = () => req.get(base.findNew)

//首页-人气推荐
export const getHot = () => req.get(base.findHot)

//首页-产品区块
export const getProducts = () => req.get(base.product)